﻿namespace RbacPermissionSystem.Domain
{
    public class Admin: AuditFields
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int AdminId { get; set; }
        /// <summary>        
        /// 姓名
        /// </summary>
        public string FullName { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>        
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>        
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Avatar { get; set; }
        /// <summary>        
        /// 末次登录时间
        /// </summary>
        public DateTime? LastLoginTime { get; set; }
        /// <summary>        
        /// 末次登录IP
        /// </summary>
        public string LastLoginIP { get; set; }
    }
}